package com.baizhi.service;

import com.baizhi.entity.Admin;

import java.util.HashMap;

public interface AdminService {
    HashMap<String,Object>login(Admin admin,String enCode);

    //查询所有数据
    HashMap<String,Object>queryAllPage(Integer page,Integer pageSize);
    //修改数据
    HashMap<String,Object>update(Admin admin);
    //删除数据
    HashMap<String,Object>delete(Admin admin);
}
